<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/3
 * Time: 11:53
 */


namespace App\Http\Transformers\Order;


use App\Models\Carrier;
use League\Fractal\TransformerAbstract;

class CarrierListTransformer extends TransformerAbstract
{
    public function transform(Carrier $carrier)
    {
        $data = $carrier->toArray();

        return $data;
    }
}
